#pragma once
#include "afxwin.h"
class ComPortConfig : public CDialog
{
	DECLARE_DYNAMIC(ComPortConfig)

public:
	ComPortConfig(CWnd* pParent = NULL);   // standard constructor
	virtual ~ComPortConfig();

// Dialog Data
	enum { IDD = IDD_COMSELDLG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()

//////////////////////////////////////////////////////////////////////////
public:
	int			getSelDeviceID();
	int			getSelComPortID();

private:
	CComboBox	mDeviceSel;
	CComboBox	mComPortSel;
	int			mDeviceID;
	int			mComPortID;

//////////////////////////////////////////////////////////////////////////
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedOk();
};
